﻿<%@ Page Language="c#" CodeBehind="LinkmanListView.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.CM.LinkmanListViewPage" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
  <title>LinkmanListView</title>
</head>
<body>
  <form method="post" runat="server">
    <table cellspacing="0" cellpadding="0" width="100%" border="0" class="gbtext">
      <tr>
        <td>共 <asp:Literal ID="ltl_Count" runat="server" />条记录&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:HyperLink ID="hlk_Add" runat="server" NavigateUrl="Linkman.aspx" Target="_blank" Font-Size="X-Small">添加</asp:HyperLink>&nbsp;&nbsp;&nbsp;&nbsp; <asp:HyperLink ID="hlk_Mod" NavigateUrl="Linkman.aspx" runat="server" Target="_blank" Font-Size="X-Small">修改</asp:HyperLink>&nbsp;&nbsp;&nbsp; <asp:HyperLink ID="hlk_Search" runat="server" Font-Size="X-Small">查询</asp:HyperLink></td>
      </tr>
      <tr>
        <td>
          <asp:DataGrid ID="dgrd_Linkman" runat="server" AutoGenerateColumns="False" AllowPaging="True" Width="100%" BorderColor="#93BEE2" BorderWidth="1px" CellPadding="3" PageSize="15" CssClass="gbtext">
            <AlternatingItemStyle Font-Size="X-Small" BackColor="#E8F4FF"></AlternatingItemStyle>
            <ItemStyle Font-Size="X-Small"></ItemStyle>
            <HeaderStyle Font-Size="X-Small" ForeColor="White" BackColor="#337FB2"></HeaderStyle>
            <FooterStyle Font-Size="X-Small"></FooterStyle>
            <Columns>
              <asp:BoundColumn DataField="Name" HeaderText="姓名">
                <HeaderStyle Font-Size="X-Small"></HeaderStyle>
                <ItemStyle Font-Size="X-Small"></ItemStyle>
              </asp:BoundColumn>
              <asp:TemplateColumn HeaderText="性别">
                <ItemTemplate>
                  <%# GetGender(Convert.ToBoolean(((DataRowView)Container.DataItem)["Gender"]))%>
                </ItemTemplate>
              </asp:TemplateColumn>
              <asp:BoundColumn DataField="Mobile" HeaderText="手机" />
              <asp:BoundColumn DataField="LastContactTime" HeaderText="最近接触时间" />
              <asp:BoundColumn DataField="ClientName" HeaderText="客户名称" />
            </Columns>
            <PagerStyle NextPageText="上一页" PrevPageText="下一页" HorizontalAlign="Right" Mode="NumericPages" />
          </asp:DataGrid>
        </td>
      </tr>
    </table>
  </form>
</body>
</html>
